const { Sequelize } = require('sequelize')
const sequelize = new Sequelize('lyClientDataBase','root','mysql', {
    host: 'www.beloved.ltd',
    port: 3306,
    dialect:'mysql'
});
sequelize.authenticate()
  .then(() => {
    console.log('Connection MysqlServersuccessfully at 3306');
  })
  .catch(err => {
    console.error('Unable to connect to the database:', err);
  });
// sequelize.sync({alter:true})
module.exports = sequelize